using System;
using System.Data;
using System.Data.SqlTypes;
using System.Data.SqlClient;

namespace DataEntity
{
	public class T_Album : DBInteractionBase
	{
		#region Class Member Declarations
			private SqlBinary		_album_Content;
			private SqlGuid			_album_Software_ID, _album_ID;
		#endregion







		#region Class Property Declarations
		public SqlGuid Album_ID
		{
			get
			{
				return _album_ID;
			}
			set
			{
				_album_ID = value;
			}
		}


		public SqlBinary Album_Content
		{
			get
			{
				return _album_Content;
			}
			set
			{
				SqlBinary album_ContentTmp = (SqlBinary)value;
				if(album_ContentTmp.IsNull)
				{
					throw new ArgumentOutOfRangeException("Album_Content", "Album_Content can't be NULL");
				}
				_album_Content = value;
			}
		}


		public SqlGuid Album_Software_ID
		{
			get
			{
				return _album_Software_ID;
			}
			set
			{
				SqlGuid album_Software_IDTmp = (SqlGuid)value;
				if(album_Software_IDTmp.IsNull)
				{
					throw new ArgumentOutOfRangeException("Album_Software_ID", "Album_Software_ID can't be NULL");
				}
				_album_Software_ID = value;
			}
		}
		#endregion
	}
}
